<?php
namespace app\admin\model;

use think\Config;
use think\Db;
use think\Loader;
use think\Model;
use traits\model\SoftDelete;

class Car extends Base
{
    // protected $name = 'car';

    //车辆列表
    public function getAll()
    {
        $data=$this
            // ->field('id,car_brand,car_model,car_brand_id,car_model_id,plate_number,user_id,device_id,image_url,created_at,updated_at,address')
            ->field('id,car_model,plate_number,user_id,device_id,image_url,created_at,updated_at,address')
           // ->where("deleted_at","exp","is null")
            //->select()
        ;
        //var_dump($data);exit;
        return $data;
    }
}